package de.koller.magnitude.web.pages;

import de.koller.magnitude.web.WebDisplayRoot;

public class IndexPage extends MPage {

	public IndexPage( WebDisplayRoot root ) {
		super( root );
	}

	@Override
	public boolean isRequestValid( String request ) {
		return request.equals( "/index" );
	}

	@Override
	protected String getBody() {
		String h = "<h3>Realm Home</h3>";
		String r = paragraph( "Runde: " + webroot.mroot.data.getRound() );
		//String l = paragraph( link( "/regions", "Regionen" ) );
		return h + r; //+ l;
	}

	@Override
	protected String getPageTitle() {
		return "200 Million Home";
	}

	
}
